package com.atguigu.spzx.manager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: ManagerApplication
 * @Package: com.atguigu.spzx.manager
 * @Description 启动类
 * @Author 孤妤
 * @Date: 2023/12/3 16:05
 */
@ComponentScan(basePackages = "com.atguigu.spzx")  //扫描本项目的包以及依赖项目的包
@MapperScan(value = "com.atguigu.spzx.manager.mapper") // 管理mapper包下产生的代理对象
@SpringBootApplication
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class,args);
    }
}
